|
In computer science, a Lease is a contract that gives its holder specified rights to some resource for a limited period. Because it is time-limited, a lease is an alternative to a lock for resource serialization. == Motivation == A traditional resource lock is granted until it is explicitly released by the locking client process. Reasons why a lock might not be released include: * The client failed before releasing the resources * The client deadlocked while attempting to allocate another resource * The client was blocked or delayed for an unreasonable period * The client neglected to free the resource, perhaps due to a bug * The request to free the resource was lost * The resource manager failed or lost track of the resource stated Any of these could end the availability of an important reusable resource until the system is reset. By contract, a lease is valid for a limited period, after which it automatically expires, making the resource available for reallocation by a new client. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Lease (computer science)」の詳細全文を読む スポンサード リンク
|